package com.rzj.sys_lab_assistant.dao;

import com.rzj.sys_lab_assistant.entity.AssistantRepair;
import com.rzj.sys_lab_assistant.entity.bo.ExportBO;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-07-02 21:31
 */
@Mapper
public interface AssistantRepairMapper {

    List<AssistantRepair> listAssistantRepairs(int aId); // 根据助理编号进行查询工作内容

    List<AssistantRepair> listAssistantRepairsByLab(int labId); // 根据助理编号进行查询工作内容

    ExportBO exportById(int repairId); // 根据报修编号导出

    AssistantRepair getAssistantRepairById(int repairId);

    int saveAssistantRepair(AssistantRepair assistantRepair);

    int updateAssistantRepair(AssistantRepair assistantRepair);

    int deleteAssistantRepair(int repairId);

}
